export interface BaseListReq {
  page: number;
  pageSize: number;
  status?: number;
  [x: string]: any;
}

export interface BaseListResp<T> {
  [x: string]: any;
  /**
   * @description 数据列表
   */
  data: T[];
  /**
   * @description 数组总数
   */
  total: number;
}

export interface BaseDataResp<T> {
  code: number;
  msg: string;
  total: number;
  data: T;
}

export interface BaseResp {
  code?: number;
  msg: string;
}

export interface BaseIDReq {
  ids?: number[];
}

export interface BaseIDsReq {
  ids: number[];
}

export interface BaseUUIDReq {
  id: string;
}

export interface BaseUUIDsReq {
  ids: string[];
}
